/**
 * Copyright (c) 2019-2029, wwww.kiwipeach.cn (liuburu@qq.com).
 * <p>
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * <p>
 * https://www.apache.org/licenses/LICENSE-2.0
 * <p>
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package cn.kiwipeach.blog.oauth.gitee;

import lombok.Data;
import lombok.ToString;

/**
 * github的用户信息，例如：
 * {
 * "login": "kakaluote444",
 * "id": 15668875,
 * "node_id": "MDQ6VXNlcjE1NjY4ODc1",
 * "avatar_url": "https://avatars2.githubusercontent.com/u/15668875?v=4",
 * "gravatar_id": "",
 * "url": "https://api.github.com/users/kakaluote444",
 * "html_url": "https://github.com/kakaluote444",
 * "followers_url": "https://api.github.com/users/kakaluote444/followers",
 * "following_url": "https://api.github.com/users/kakaluote444/following{/other_user}",
 * "gists_url": "https://api.github.com/users/kakaluote444/gists{/gist_id}",
 * "starred_url": "https://api.github.com/users/kakaluote444/starred{/owner}{/repo}",
 * "subscriptions_url": "https://api.github.com/users/kakaluote444/subscriptions",
 * "organizations_url": "https://api.github.com/users/kakaluote444/orgs",
 * "repos_url": "https://api.github.com/users/kakaluote444/repos",
 * "events_url": "https://api.github.com/users/kakaluote444/events{/privacy}",
 * "received_events_url": "https://api.github.com/users/kakaluote444/received_events",
 * "type": "User",
 * "site_admin": false,
 * "name": "卡卡罗特444",
 * "company": null,
 * "blog": "",
 * "location": null,
 * "email": null,
 * "hireable": null,
 * "bio": "没有梦想，何必远方",
 * "public_repos": 56,
 * "public_gists": 0,
 * "followers": 2,
 * "following": 24,
 * "created_at": "2015-11-05T09:54:52Z",
 * "updated_at": "2019-01-20T09:56:52Z"
 * }
 *
 * @author kiwipeach
 * @since 1.0
 */
@Data
@ToString
public class GiteeUser {
    private String id;
    private String login;
    private String nodeId;
    private String avatarUrl;
    private String gravatarId;
    private String url;
    private String htmlUrl;
    private String followersUrl;
    private String followingUrl;
    private String gistsUrl;
    private String starredUrl;
    private String subscriptionsUrl;
    private String organizationsUrl;
    private String reposUrl;
    private String eventsUrl;
    private String receivedEventsUrl;
    private String type;
    private String siteAdmin;
    private String name;
    private String company;
    private String blog;
    private String location;
    private String email;
    private String hireable;
    private String bio;
    private String publicRepos;
    private String publicGists;
    private String followers;
    private String following;
    private String createdAt;
    private String updatedAt;
}
